package com.atguigu.day02.homework;

public class HomeWork1{
	public static void main(String[] args){
		double x = 100.8;
		double y = 20.6;
		double add,sub,mul,div;
		add = x + y;
		sub = x - y;
		mul = x * y;
		div = x / y;
		System.out.println("x,y的和为：" + add);
		System.out.println("x,y的差为：" + sub);
		System.out.println("x,y的积为：" + mul);
		System.out.println("x,y的商为：" + div);
	}
}